package com.wupo.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 查询条件
 *
 * @author wupo
 * @since 2020-02-22
 */
@Data
@ApiModel(value="SearchCondition", description="搜索参数")
public class ConditionVo implements Serializable {
    private static final long serialVersionUID = -5099378457111419832L;
    /**
     * 数据库字段名
     */
    @ApiModelProperty(value = "搜搜列")
    private String column;

    /**
     * 字段值
     */
    @ApiModelProperty(value = "搜索值")
    private String value;

    /**
     * 连接类型，如llike,equals,gt,ge,lt,le
     */
    @ApiModelProperty(value = "链接类型")
    private String type;

}
